package com.wsd.smartcarwasher.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsd.smartcarwasher.domain.TChargeRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface TChargeRecordMapper extends BaseMapper<TChargeRecord> {

    List<Map<String, Object>> queryChargeRecord(@Param("userId") String userId);

    void save(TChargeRecord tChargeRecord);

    void update(TChargeRecord tChargeRecord);


}